package com.yueguang.springai.inode.impl;

import com.yueguang.springai.context.OrderContext;
import com.yueguang.springai.inode.INodeComponent;
import com.yueguang.springai.model.param.OrderParam;
import com.yueguang.springai.rule.RuleA;
import com.yueguang.springai.rule.RuleB;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@RuleA
@RuleB
@Order(40)
public class HNodeComponent implements INodeComponent {
    @Override
    public void handleData(OrderContext orderContext, OrderParam orderParam) {
        log.info("RuleA&B流程执行处理业务节点H-库存处理");
    }
    // 省略具体的业务处理逻辑
}
